package cn.steel.service.impl;

import cn.steel.domain.entity.EmailLog;
import cn.steel.mapper.EmailLogMapper;
import cn.steel.service.EmailLogService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class EmailLogServiceImpl implements EmailLogService {

    private final EmailLogMapper emailLogMapper;

    @Override
    public List<EmailLog> getAllEmailLogs() {
        return emailLogMapper.findAll();
    }
}